MS Outlook Functions Library Objects

See Using the Microsoft Office Library.

Outlook Meeting Functions

In version 7.2, Add Recipient, Add Room, Find Time Slots and Schedule Meeting functions were added with Outlook Meeting. See Using Outlook Meeting Functions.

Function / Event

Return Value

Description

Syntax

Add Recipient

Boolean

Adds the recipient email address or name to the list of recipients (Recipients property). You must also specify whether the recipient is required or not.

This function is executed on the business entity instance of the Outlook Meeting base type.

See Using Outlook Meeting Functions.

Add Recipient of My Meeting <Select Email Address Or Name> <Select Is Required>

Add Room

Number

Adds a room to the list of rooms (Rooms Pool property) and returns the number of rooms in the list.

This function is executed on the business entity instance of the Outlook Meeting base type.

See Using Outlook Meeting Functions.

Add Room of My Meeting <Select Name>

Find Time Slots

Number

Identifies possible time slots (and rooms) for all mandatory recipients (taking into account the meeting duration, working days, and working hours). Obviously the more meetings that are already in the recipients' calendars, the fewer time slots will be available.

The function returns the number of time slots available for all the mandatory recipients and populates the Time Slots property. This Time Slots property is a list of JSON objects, with each object in this list including a possible time slot and the list of available rooms for the time slot.

This function is executed on the business entity instance of the Outlook Meeting base type.

You can then extract the start time from the first time slot and extract a room for the time slot and use these as input parameters in the Schedule Meeting function. For an example, see Using Outlook Meeting Functions.

By default, the Duration is set to 60 minutes, the Working Days are set to 0,1,2,3,4, the Working From is set to 09:00 and the Working Until is set to 18:00. If required, use the Set function to specify different values for these properties in the business entity instance of the Outlook Meeting base type.

Find Time Slots from of My Meeting <Select From Time> <Select To Time>

Get Mail Item Using Folder Hierarchy And Filter

Outlook Mail Item

Retrieves the first email item from the specified folder hierarchy based on the filter applied. The root of the hierarchy is the email ID. For example, to retrieve all the unread emails from the inbox, with email ID john.doe@nice.com. specify the folder hierarchy as: John.doe@nice.com Inbox Examples of filters: [Subject] = 'Chocolates at my Desk!' – Retrieves all emails with the specified subject line. [SenderEmailAddress] = nicensc@service-now.com – Retrieves all emails received from the specified email ID.

Get Mail Item from <Folder Hierarchy> with filter <Filter>

Get Outlook Folder Mail Items Using Folder Hierarchy And Passed Filter

List of Outlook Mail Item

Retrieves all the email items from a specified folder hierarchy, based on the filter applied. The root of the hierarchy is the email ID. For example, to retrieve all unread emails from the inbox, with email ID john.doe@nice.com, specify the folder hierarchy as: John.doe@nice.com Inbox

Examples of filters:

[Subject] = 'Chocolates at my Desk!' – Outlook will retrieve all the emails with the specified subject line.

[SenderEmailAddress] = nicensc@service-now.com – Outlook will retrieve all the emails received from the specified email ID.

Get All Mail Items from <Folder Hierarchy> and passed filter <Filter>

Get Unread Mail Items Using Folder Hierarchy And Oldest Date Limit

List of Outlook Mail Item

Retrieves all the unread email items from a specified folder hierarchy, until a specified date.

Root of the hierarchy is the email ID. For example, to retrieve all the unread emails from the inbox, and the email ID is john.doe@nice.com, specify the folder hierarchy as: John.doe@nice.com Inbox

Get Unread Mail Items from <Folder Hierarchy> search items newer than <Date>

Schedule Meeting

None

Schedules a meeting for the recipients at the Start Time in the Room with the message Body and Subject. By default, the Duration of the meeting is set to 60 minutes. If required, use the Set function to specify a different duration in the business entity instance of the Outlook Meeting base type.

This function is executed on the business entity instance of the Outlook Meeting base type.

You can use the Find Time Slots functions to create a list of available time slots (and rooms) when all mandatory recipients are available, and then use these values in a custom function to set the start time to the first available time slot and allocate a room accordingly. See Using Outlook Meeting Functions.

Schedule Meeting of My Meeting <Select Room> <Select Start Time> <Select Subject> <Select Body>

Unread Mail

List of Outlook Mail Item

Retrieves all the unread email items from the specified folder hierarchy, until a specified date.

Root of the hierarchy is your email ID. For example, you want to retrieve all the unread emails from your inbox, and your email ID is john.doe@nice.com. In this case, you need to specify the folder hierarchy as:

John.doe@nice.com Inbox

Get All Unread Mail Items From <Folder Hierarchy> Until <Date>

MS Outlook Functions